

window.onload = function(){
    $('.carousel.carousel-slider').carousel({fullWidth: true});
    $('.carousel.carousel-slider').carousel({fullWidth: true});
    $(".carousel").css("height","2.12rem");
}
var myapp=angular.module('app',[]);
//滚动新闻控制器
myapp.controller('myindexctr',['$scope','$http',function($scope,$http){
    $http({
        url:'/api/shouye/get',
        method:'get'
    }).then(function(data){
        $scope.indexTop=data.data.data.data;
    })
}]);

